#include <iostream>
#include <vector>

// using namespace std;

int main()
{
    std::vector<std::string> names;
    names.vector::push_back("David");
    names.vector::push_back("William");
    names.vector::push_back("Dozier");

    /*names[3] = "David";
    names[4] = "William";
    names[5] = "Dozier";*/

    std::vector<int> numbers(1000, 0);

    for (int i = 0; i < names.size(); i++) {
        std::cout << names[i] << " " << numbers[i] << std::endl;
    }

    names.vector::pop_back();

    for (int i = 0; i < names.size(); i++) {
        std::cout << names[i] << " " << numbers[i] << std::endl;
    }

    names.vector::pop_back();

    for (int i = 0; i < names.size(); i++) {
        std::cout << names[i] << " " << numbers[i] << std::endl;
    }

    return 0;
}
